package cn.edu.buu.hospital.service;

import cn.edu.buu.hospital.entity.Report;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ReportService {
    void add(Report report);
    void removeById(Long reportId);
    void modify(Report report);
    Report findById(Long reportId);
    List<Report> findAll();
    PageInfo<Report> findByUserId(int pageNum, int pageSize, Long userId);
    PageInfo<Report> find(int pageNum, int pageSize, Report condition);
}